Change the way the public package is built.

Now uses .patch files to make modifications.