Fix the OS X build