Fixed building and added gtest as submodule.