add support for older GCC versions
Merge pull request #6 from gcflymoto/master

add support for older GCC versions