buildtools: Don't configure Python more than once