Fixed building of OSX only