Fix Python configure flags