fix make dist and make tags

and drop unused files
enable TLSv1.2 if available