Fix unit-tests build.

- QuickView isn't compiled for unit tests.
- Use a bogus version.h for tests