Fixed return check on gl_init_extensions