Fixed OSX compile issue

I had changed the compile flags for linux and affected the OSX build.  I tested on both environments (64 bit linux and osx) and seems to be working ok now