Win32fix4

compile fixes for windows and current mainline

Also i added a version resource which you can alter via a text editor (now we can see the version of libnfs.dll in the properties of the dll in windows)