removed a few compiler flags on Mac systems