Auto generate templates/cmd_header.in from templates/header.in