Fix UNIX build