Fixed issue with header generation for files containing #elif directives.