Fix AIX build (by Vaclav Krpec)