fix compilation errors
Merge pull request #3 from eprogramming/master

fix compilation errors