modified project for mingw cross compilation