Add -lssl as linker option.