Fix Python module creation.