Make check target depend on common-cmds.h