enable building on OSX