Added shflags and support to mcmake