Made installation code Python-version agnostic.