Make WIN32 static builds work again.