examples: Make sure that examples are linked against all compiled NS-3 modules

Such linking is necessary on some platforms to run examples in visualizer