Work around issues with building on old and new clangs.
Stop using shared GL contexts and move to native OS surface sharing