Increase mock-friendliness

The unit tests currently require a particular directory structure which isn't present in a mock chroot. This adds a "./configure --disable-tests" to work around this.

The "standard" open-source build interface is
```
./configure
make
```
so remove the automatic running of configure (probably with the wrong arguments). This avoids triggering some kind of build loop in the mock environment.