Support building on OSX