moved find/link OpenGL runtime function to Functions.cmake
reduced warning and fixed a compile at BaseRenderContext
removed no longer used macro
cleanup cmake source