more robust make file for win32 build