Mac Os X path fix.
I guess for this problem there are better solutions.