Revert "msvc compatibility"

This reverts commit 9eae802b79934085256b86085d1ef499f6fc3cec.
valid commit