Fix prepatch/postpatch ordering for IBM