Check `*-config --libs` commands too.

Since I want to use it in rust-mecab.