adds linker information for c++ compiling