MSVC update. (needed for shared_ptr)

Add XML-versions of project settings to compile with expat on/off.
Improve release build settings.
Fix x64 build.