Fix build on gentoo

References:
* https://bugs.gentoo.org/show_bug.cgi?id=466838
* https://github.com/brianmario/charlock_holmes/issues/10
Merge pull request #41 from vzctl/fix-gentoo-build

Fix build on gentoo