add win32 support
add nmakefile for win32