Removed registry lookup

Registry entries for perl installation are ActivePerl specific,
therefore to allow use of others this has been removed and replaced with
a check on the perl usage