Revert "Fixed build on Windows"

This reverts commit 6dc96775f5ea6a83be1ed21183a420f101a4e3a1.