We don't need the custom function now

The $::pe_version fact is available in PE > 2.6.1 so we can use that
instead.