improve heuristic for detecting when we are running on a 64bit platform

The heuristic used to detect when perl would compile as a 64bit perl natively was wrong.

I have replaced it by one that matches the logic in perl Configure script.