Clean up project settings to prevent most MSVC linker warnings. This commit also adds MSVC builds to CI.