Add a PURE_PYTHON env var to suppress compiling C extensions.

Test this case under both Python 2.7 and 3.3.