Completed initial implementation of make_package script.

cygwin stuff not tested.