Enable unittests in cmake.