Use this simpler metafile-parser which also include unknown directives.
Fix some logic.