contrib/tnitter: refactor to set the server interface at compilation