Static build fix - only attempt to link against libtasn1 if it's present


More static build fixes.  Not all distros (eg: EL5) have standalone libtasn1, so we can't assume that it's a GnuTLS dependency.