fixed compile warnings
Merge branch '2.0' of https://github.com/triAGENS/ArangoDB into 2.0