Fixes issue #1450

CCConfiguration can be initialized before an OpenGL context is created
Re-fixes issue #1456