Fix mac incompabillity.