Fix building with gcc-4.7.2.
Merge pull request #12 from ezhuk/gcc-check

Fix building with gcc-4.7.2.