Fix g_type_init deprecation
Fixes for make dist