3 improvements

please find 3 commits related to MS Windows build

2 commits just fix compiler warnings which I have experienced in Win64 (mostly due to the fact that 'long int' is 32bit on Win64 and you have to use 'long long int' if want 64bit integer)

1 commit adds makefile(s) for building by gcc @ MS Windows (some instructions are included inside makefile.mingw)