modify the code & makefile so the program can be compiled under Windows using MinGW & bins from git installation