Fixed build under OS/X