Merge pull request #3590 from mpg/fix-compat.sh-with-ubuntu-16.04-gnutls

Fix compat.sh with ubuntu 16.04 gnutls