windows compatible

now running with windows. compiled with mingw