proper handling of changin gcc version