Prepare Network for external usage in cmake

Signed-off-by: Alexander Siol <dunklermeuchler@gmail.com>