Revert "build.sh added more python dependency packages - this is not the
reason why compiling python hangs on checking pthread.

This reverts commit 184e259659d0188afabc4bdc42baa7f3dcd13f9f.