add two other platforms and fixed compile errors for OpenGL