Fixed fedora support
Merge pull request #480 from jrogosky/master

Fixed fedora issues, thanks to jrogosky!