Fix ha build on lunix