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

gentoo linux support
Merge remote-tracking branch 'robbyrussell/master'