https://github.com/FiveTechSoft/harbour_and_xharbour_builds/blob/master/hbwin.lib
Please test it and let me know if it works fine for you
The bug and the fix have been reported to the Harbour devel group so it should be included in the Harbour official repo very soon!