fix version check

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Merge pull request #170 from miurahr/fix_version_check

fix version check