improve multiversion install script, now works with python 2.6