Print friendly error message if gobject isn't found

Fixes #836