Changes to the CMC prelude from the PAKCS prelude.  Updates the external function stubs.