Check whether 'mecab.h' exists before version check: fix #408