configure: update SSL check for libpurple 3.x.x