Only build the needed binaries in run_PrepareAllTestData.sh

Previously this did a full make, including all of gtest and the unit
test suite. This was done before every build, even for the binary
comparison tests which doesn't use the unit test.

This reduces the runtime of run_PrepareAllTestData.sh from 52 to 10
seconds in one setup.
Merge pull request #1128 from mstorsjo/reduce-prepare-compilation

Only build the needed binaries in run_PrepareAllTestData.sh