Fixes build on OSX 10.9