only apply grainspotter mavericks patch on osx