I intend to apply the attached patch in order to fix this problem for the Windows build (see Bug#6105 and Bug#12922). Comments welcome. Thanks, martin