Fix library token when get real path.