Fixed error for Windows.