Fixed null value in Windows build.