Fix build error with g++
Merge pull request #148 from fdelapena/master

Fix build error with g++