Makefile changes so -o is first and pkg-config is used.