added missing define on OSX