fixed cmake for http-host on linux