some dependencies fixes

Hello, 

1) thanks for the nice work, i'm looking into this to package the new version into sabayon
2) i've found some minor problems in the ebuild i looked at, that i fixed with those two commits.

Please merge them or give me a feedback to improve them.

kudos.