What it takes to get this code actually running with msvc.

Signed-off-by: retep998 <retep998@verizon.net>