Fixing up configure to properly support ssl