Fix make.pl generator for when in same directory
Die on undef dependency