Osx bug fix. Add osx gl platform.