fix openssl configure check so it works on Ubuntu 12.04