add gentoo compatibility

#10