compute base locally as they differ on different OSes (or different perls)