Making compatible to used lib
Merge pull request #9 from rodrigods/master

Making compatible to used lib