General Allwmake patch
General Allwmake patch

This patch works for 68 of the 71 Allwmake scripts.

UCL-RITS/rcps-buildscripts,UCL-RITS/rcps-buildscripts,UCL-RITS/rcps-buildscripts,UCL-RITS/rcps-buildscripts,UCL-RITS/rcps-buildscripts