Mac Os X path fix