Make the build work on OS X.