Fixed properties for the MinSizeRelease and RelWithDebInfo builds for Visual Studio.

See title.