Fix OSX's build