This caused a test failure when linking the Julia language against MKL on Windows, see https://github.com/JuliaLang/julia/pull/21264. Libraries shouldn't change output modes from underneath an application.
Thanks for reporting this. We will evaluate the issue. Thanks!
For more complete information about compiler optimizations, see our Optimization Notice.