Remove gcc49
Add upgrade_all option