fix warning message if gtest is not found (#458)