lighting shader fixes for gl on osx