Attempted fix for msvcrt error.