Changed usage of deprecated bzero to memset