Compile fixes, added multi-platform OpenGL header and changed AABB name to rectangle