Compiles tools/ismindex.c under Windows/MinGW

Include cmdutils.h so we can build under windows. 

Based on fix for https://ffmpeg.org/trac/ffmpeg/ticket/256