Fall back to composer's autoload.php if existing

This allows usage of PEAR as a dev dependency
rather than relying on the global install,
amongst other things. Same logic that's already
in place for 3.x