use correct linker-property to set the hostname in redirectTo() function, fixes #1151

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>