mingw64: porting in d directory