Now able to build versions other than 5.6.0, and handle upgrades.