fix errors wrt importing identifiers not statically exported from modules