fix openssl path on macports, update #1840