Fix for pythonX.Y-config

Instead of checking for pythonX-config, the configure script now checks for pythonX.Y-config.