Reintroduce pkg-config with optional Makefile.config flag.

I reverted @kmatzen's d6dbfc84 to use pkg-config to setup the opencv library paths because it broke my setup; this reintroduces it as an optional flag. (I tested that enabling the flag breaks my system in the same way..)