Merge pull request #64 from opengm/master

update from opengm:master
fix some warnings
Merge pull request #243 from joergkappes/master

fix some warnings