allow empty flg files. fix import_built in ASTs