configure.ac: Fix Python detection.