build test, forward compatible context init

build test option for cmake, query forward compatible context from freeglut (needed for mesa free drivers)