VSYNC fix is for Apple only.
Merge pull request #622 from clementfarabet/master

VSYNC fix is only for OSX.