Fix buildenv.