fix g2o and arch specific problems
Merge pull request #1564 from vrabaud/master

bump g2o