Fixes build in Mac OS X.