ns3 library compilation

Including all objects into ns3 library and compiling all code with
-fPIC