MacOS X: removed real path resolving incompatibilities