gnutls: fix linking on Darwin (close #1779)
gnutls: add platforms for the default version