Fixed build on non-OSX.