fix dl location and path of mingw