fix config header definitions that were causing errors when flushing cache