Set linkResultFileName function in MinGW toolchain