Updated compilation script to be equivalent as the compilation in Mooshak.