Fix for building with gcc
Merge pull request #3 from yorikvanhavre/master

Fix for building with gcc