changed the build script to use the new --prefer-dist option