perl: Rerun configure if MAX_PROC_NR changes.