Support Gentoo minions

This fixes #37, tested on Gentoo amd64 nodes. Other supported platforms should not be affected.