build on OS X