fix buildenv
fix automake, autoconf