Small tty fix for MSVC