Patches for PlibC