Add build script for packaging