* Updated build on Windows and changed compiler options for building with Mingw