Fix NetPort cmake build script