make indxnames static since it's only initialized once

'lhosts -l' crashes reliably if there is more than one configured (or
specified) host.  This is because indxnames is declared non-static, but
is only initialized on the first call to print_long (via "first").
Merge pull request #56 from nweisenfeld/2.1-fix-lshosts-crash

fix crash with 'lshosts -l' and more than one host specified