G4 11.0.0 Debug build on Windows: linker error 1189 (dll size)

I cannot make it build in debug either but release mode build successfully.