Updated OSX debug build configuration
CMakeLists.txt: when building in debug version under OSX, make sure we add -g -O0 to the build