cmake: add asn1 target, avoid unnecessary rebuilds