When unpacking a tarball for install, rename 'dist' to useDistPref.

Allows installing packages that include pre-generated files (e.g. alex, happy)
into a sandbox even when the required preprocessor is not installed on the system.