backporting some fixes from dev branch to 2x_patch branch

- NO_OPENGL option so you don't need to install GLFW to build dxViewer
- Additional search path for DirectX headers
- Fix for OpenGL ES headers when building for iOS
- "version.cpp" fix for Xcode project