Precompile mercury