With help of others I have traced this back to this line of code where BLIB_BASE is set (I think), it is something a hired gun wrote for me some time back, again this code works on other platforms just not windows, I am not exactly sure what it is trying to accomplish, can anybody help me out?
sub postamble
{
BLIB_BASE=`$(PERL) -MFile::Basename -e 'print dirname $$ARGV[0]' $(INS
+T_BIN)`
HS_BLIB=$(BLIB_BASE)/my_code
MY_CODE_SHARED_BDIR=$(HS_BLIB)/shared
[and several more similar lines using the HS_BLIB constant]
etc...