mkcompile modification