revise build scripts and packaging

No match.