Add support for distutils check