fix for Invalid preprocessing directive on OS X Maverick