fix compile issue on mac for footstep planning mex.  was over-riding default compiler flags