make it build on OS X