Set `/SAFESEH:NO` on Windows to fix static builds