Fixed the Mac build