resolve: Do import GLib

This regressed with Giovanni's commit to change main.js.