Autodetect version of Python for libswarmng_ext