Fixed release build on Windows.