Added support for Python with multiarch.

This is the default on Ubuntu 13.04, which broke the previous version.