Build system: Improve detection of the tokyotyrant library.