Fix for previous commit which would not work when PKG_CONFIG also returned -L flags