Fixed unix build

Signed-off-by: shennetsind <ind@henn.et>