fix Mac OS X release build

the -Os compiler option does not exist with the default Apple compiler