[cs] Fixed  recognition on -net-lib. Closes #3574