cmake: Update patch.
perl: Relocate PATHs in some scripts on install