Fixes Python path issue in installation script