Or just do it the 'better/newer' way-
https://github.com/cv007/XC3216/blob/master/xc32xc16-info-rev4.txt(OSX info is lacking for the xc32 binary mods, if wanted I would need the 3 binary files, then I can decompile and update the info)
No need to deal with xclm (section1 binary mod), or even do any mods (section2 simple txt file).
In the case of 'section1', the xclm file has to be present (but can be blank), but is never called (speedy compile). The no-mod 'section2' still calls xclm but the results are overridden. XC16 is a little different, and if I recall either method will not even bother with xclm at all.
The latest source mchp released for xc32 also appears to have the build scripts now included, but I have not tried it. In some ways, it is better to be working with the same version as 'everyone' else, where the available documentation also matches, and any problems can be reproduced by others if needed.