Fix compatibility with gcc compiler
Merge pull request #29 from eheien/master

Fix compatibility with gcc compiler