Fix a preprocessor bug on Mac OS X Maverick see issue 6