lexer: fix #include bug for `strdup` and other functons