M$ Windows friendly

Make things compile and run on Windows using MS Visual C++
6.0 by changing the following :

Change all long long variables to uint64_t
Typecast all malloc returns to the correct pointer type
Typecast all float to int function conversions
Remove variable inline declaration - ok in C++ but not in C
Add windstubs.c and winstubs.h to emulate Linux behaviour under windows
Add #ifdefs for other Windows specific stuff