Fix a bug in non-preprocess mode that undefined symbols are not shortcut
by logic `and' operation.