lang: Fix for 'Host not found' problem (Issue #1016)

Signed-off-by: Scott Wilson <i@scottwilson.ca>