VSYNC fix is only for OSX.

My previous patch was too coarse: the VSYNC patch was only needed for (and only works on) OSX.