fix platform appropriate paths