Make sure the dir exists before creating cling-compiledata.h.