there should be no need to keep switching default gcc versions - just set the correct environment variables for make/configure