Fix building for sdist installation