Apply knnniggett's solution on gnutls-openssl issue which
adds support for RPM based distros.