alarm: Remove GLib dependency.