fedora 17 & 18 support
Merge pull request #1297 from llonchj/master

fedora 17 & 18 support