fixed g++ build errors
Merge pull request #1 from athre0z/master

fixed g++ build errors