Fix GIR scanning for srcdir != builddir