Fixes the build on OS X Mavericks