fix simpleCpu and ptexViewer to be compilable with new patch tables.