Fix link issue in network examples

Hi,

gcc version 4.6.3 complains if libraries are "declared" before object files on build line. I created a new variable in examples/network/Makefile to split LDFLAGS and libraries name.

Lionel