Is this the right way to do this?  If you instead do the logical:

    ngx_thread_system_ (new NgxThreadSystem),
    SystemRewriteDriverFactory(ngx_thread_system_),

the compiler warns about ordering.