patch build by shell script instead of patch