BUG: fix wrong gcc version check

probably irrelevant by now, but emits a warning during compilation.