Updated to use PKG_CONFIG