Updated the build system

- Added support for SDL in the GL version/extension detection module.