specifying python version programmatically in travis, setting defaults in cmake