repair unix build + fix indents