Fix pkg-config install failure when installed already