cmake fix for NET
Merge pull request #133 from mkrivos/small_fixes

cmake fix for NET