Added CMake to build NetPort as a static library