configure: automatically pick python3 is available