Use gnutls-openssl instead of gnutls to
fix build with CMake.
Apply knnniggett's solution on gnutls-openssl issue which
adds support for RPM based distros.
Merge pull request #564 from cosmedd/cmake-gnutls-fix

Use gnutls-openssl instead of gnutls to fix build with CMake.