Added test=true flag to CMake so that gtests are built.

Tests still don't get executed yet.