Modifies tests build spec to automatically build tests executables when running ctest or make test