Fix problem running the perl module