Allow for compilation on OS X