Use memset. Fix default target case.