Fixed build on UNIX systems other than OS X