gentoo linux support
Merge pull request #1803 from bebugz/patch-1

gentoo linux support
Merge branch 'robby-master' latest update