Updated compiler flags and fixed memset arg transposition.