Changed Makefile to use pkg-config to find libraries.