Add check for darwin path