fix build error for non arc project