Updates to mgcmake.