fixed checking gcc version
Merge pull request #16 from rhysd/fix/gcc_version_check

fixed checking gcc version