cmake: Automatic tests only run after their deps change.

Previously, tests ran after every build, for every target, because we were
adding the tests using add_custom_command. We now use add_custom_target.
cmake: Bashed noisy trace.
cmake: osx-x86-(32|64)-clang no longer identifies as 'Gnu'.