build.cmd: synchronize with userscripts/mmcmake.cmd