Fix header issue for mac