Detection-model.c uses the convenience functions g_hash_table_add and g_hash_table_contains, which are for treating a GHashTable like a set (only care about presence/absence of a key, not about an associated value). But those convenience functions were added in GLib 2.32 and we're still at 2.28 for Windows. Downgraded to equivalent but slightly less nice-looking older functions.