Fix unix build