Fixing build break on OSX