add some compile function for glib schema.