Fix compile error with GCC 4.7
Merge pull request #12 from Hamdor/master

Fix compile error with GCC 4.7