Fix mac declaration