Adding changes made in https://github.com/X4/gentoo-rebel/tree/master/dev-db/ArangoDB