Add "typedef" before CMD_TYPE in command.h to avoid multiple definition.
Can sucessfully use "make".