build: fix openssl detection for cross builds

Make sure that the detected openssl successfully links before enabling support.
Merge pull request #155

971fe81 build: fix openssl detection for cross builds (Cory Fields)
x86 builder
Enable tests in x86 travis builds