Only pass extra link flags on OS X.

Fixes #3249
Merge pull request #3260 from metajack/fix-cef-linux

Only pass extra link flags on OS X.