Add -N to patch so partial external builds can be re-run. #3143

Also, tell CMake which script generates param_info.c - helps with partial builds.