use pkg-config for searching libev and json-c path

The library and include paths for libev and json-c are fixed.
So building neoagent fails depending on theirs