Fix Python compilation.