Changes libtermcap to libtinfo in cmake modules

Issue: #50