when dynamic, link against gcrypt

Need to include libgrypt when using dynamic linking