Rewrite test_cppext to run in a virtual environment and to build the C++ extension with setuptools rather than distutils.