Fix compilation error on GCC 4.6+
Merge pull request #3 from mscdex/patch-1

Fix compilation error on GCC 4.6+