python3: fix errors on installation