Fix on MAC for ext