mingw64: done porting in system directory