Fix redeclared gl functions for windows build
fix init gl funtions for windows build
fix opengl linking for macosx
improved gl init
Merge branch 'master' into android-build
Merge branch 'android-build' of https://github.com/dalerank/caesaria-game into android-build