Use pkg-config to make compiling more platform independent.
Merge pull request #21 from Lasall/master

Use pkg-config to get compiler and linker options for libraries.