Fix paths even if the script is run from a symbolic link