Don't download gtest and build tests when testing not enabled