Oul can now be built shared on windows. Fixed some mvs12 bugs.