Move PATCH_DEPENDS earlier