updated cmake
added -fPIC to compiler flags
made target allsopnet an OBJECT
changed module target types to OBJECT
updated cmake