VS build and packaging updates and fixes.