Add glib version check around g_type_init()
Don't use -Werror

-Werror is great for development, but breaks the build for things
like deprecations. I still consider warnings bugs, but the build
will no longer be broken by warnings.