mac: use CGL instead of legacy AGL
mac: create Core profile context as well, will be used to check ES3 shaders soon