improved unix build