Fix for build error on OS X.