utils to build makefile from pkg.config