build: build qt tests after qt libs/executable

Trivial change to build system.

Autotools defaults to a depth-first recursion which causes the qt tests to be built before the executables and libraries.

This is inconvenient as make needs to be called twice to make sure the tests are up to date after changing a source file.

Update the Makefile.am to change this order.