Update recipe to use installed Python version to decide whether to install base