Patch linker for kernel building