use x86_64-w64-mingw32- prefix for tools like dlltool

This fixes architecture mismatches when cross-compiling.