msvc: Exclude modtermios, include extmod and fix compilation error