check `pkg-config` only when debug-mode