Use distutils.

Just discovered it while trying to fix CSmith's paths (CSmiths' changes are not included in this PR).