Make the test target depend on building successfully.