Fix ssl-linking/dependencies-issues on rhel distros.

Ok Leamas, third time's the charm. 
Two commits (or three with the comment fix). 
- Cleaned up the section when locating the libraries (checking for files instead of querying the rpm-database). 

I usually trust no one and always overdo checks to making sure everything is in place. I think it's a good thing though. However somewhere you gotta draw the line =). 

Best regards, 
Patrik