fixed compilation error
Merge pull request #40 from hogbait/bugfix

fixed compilation error