missing header files patch in linker.cpp