ENV/shared: fix gcc versions edge case.