Attempt to fix Mac OS compatibility by normalizing OS supplied paths where necessary