fix unix build break