Some MSVC work

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>