Avoid symlinks in the absolute paths

The problem occurs when the compiler's path contains symlinks