fixed compilation problem under gcc
Merge pull request #4 from bruceravel/master

fixed compilation problem under gcc