Use setuptools Extension where appropriate