configdata.pm: ensure $prefix is defined