Require libgirepository1.0-dev and get rid of dark magic