Modifications to work on CentOS6.2
Merge pull request #7 from MarkKJones/master

Modifications to work on CentOS6.2