Attempt to find libjansson via pkg-config if AC_CHECK_LIB fails
Merge commit '52df3cf' into bfgminer