Fixed the check for GCC version, which is not expected to be at least 4.7