Warn when pkg-config fails

As shown by #633, it might be helpful to display a warning when a pkg-config lookup fails to make it more obvious why a subsequent include file or library could not be found.