Set gtest version correctly for older cmake versions
Signed-off-by: Knut Omang <knut.omang@oracle.com>