Fixing OS detection for GCC version.