Add gl_pname_defs as non-generated file
Add SDL2 cmake requirement for tests.