Make tlsv1.2 and tlsv1.2 conditional on having them