better checking of options in mkd64

- comes with a slight interface change (util.h instead of random.h)