Inherit GLResource from RTTI::Object, when the 'cxx-rtti' library is available.