add workaround for some broken perl installations