build.py: do not shortify build path for mingw toolchain