Add option to clear cache before building