fix arm target compile errors.