Fix flaky test that broke due to an msvc update by disabling compiler optimizations around it, this static shit is dangerous. :/
This broke tests all over the place. This reverts commit 1aa62ceb.