build fix for OpenIndiana 5.11 with gcc (again)

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>