Fix lvalue reference in generated C
Add KNOWN_HOSTS error