Revert "python: first fix towards cross-compiling"

This reverts commit c89fe1c0ee1c2ee05651f5df5c535f76cacededd.