build: Various srcdir != builddir fixes

gnome-ostree does it by default.

https://bugzilla.gnome.org/show_bug.cgi?id=706132