more switching to pkg-config
fix patch mistake