deps, clean build dir, sed to patch issues