build: Work with srcdir != builddir from git

As implemented by Continuous.  I'm adding libunique to Continuous
because it's a dependency of Geary.