Some minor Win32 fixes

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