fixed unix build.