Use pkg-config for dependencies

I've modified the Makefile to use `pkg-config` to detect the correct compilation options for glib and dbus, rather than requiring the user to modify the `ARCH` and `CFLAGS` variables manually.