Make sure all environment variables reflect the correct build prefix