Fix distutils tests