converted makefile to use pkg-config