Fixed build on Mac OS.