Fixed the Windows Build runtime issue