Changed build script from before_install to install