Improved MSVCRT support in core.stdc.stdlib