Fixed CMakeLists.txt due to libg2o issue.