HACK: set 'enable_static=no' for dietlibc case and postpone AC_PROG_LIBTOOL execution