Add glib compilation fix, only compile modules in phase2 if there is a builder for them