use pure perl PkgConfig.pm when pkg-config is not available
update tests to work with alternate pkg-config
Merge pull request #61 from plicease/ppkg_config

use pure perl PkgConfig.pm if pkg-config is not available