fixed unix build error