Update build script to install magento