... as it was generating it dmake style by default
Start afresh.
Try correcting the source and then building it manually by running 'perl Makefile.PL' then 'dmake test' then 'dmake install' (if 'dmake test' goes ok.)
I haven't tested to see how that goes ...