gcrypt: take search path into account