ide/Project: Fixes to GCC version detection