add: compile for mingw support