Use built-in BUILD_TESTING option from CTest.