Updated error message for missing GLib dev library.
Fixed implicit declaration warning due to missing header.
Fixed implicit declaration warning due to missing header.