[autobuild] fix configure to search for openssl in the specified paths