Fix search path for gearman libs and includes on distribution which use ...

..."lib" and "lib64"