cmake: Enable opengllayer on Mac OS X.