pkg-config is necessary to prevent warning message

We have COMMON_LDFLAGS += `pkg-config tinfo && pkg-config tinfo --libs || echo ""` in src/Makefile. pkg-config is necessary to prevent warning message