Revert "Fixed some MSVC specific warnings"

This reverts commit 93f304a91d83ca3f58dfcdc47aecd183ee128813.