more fixes for python installation