- fix perl detection in configure