[build.sh] Rebuild Python if lib/ is missing