Merge "linker: use stat(2) to check file existence"