fix precompile for production