Add --target-glib=2.36 option to valac

To avoid a warning about the deprecated function g_type_init() during
the compilation of the C code.