allow build on OS X