Spruce up the building of resources

glib-compile-resources can generate dependencies for us,
so use that. Also, use the standard macro for the binary.