BUG: fix possible test error. COMP: fix DTIProcess windows compilation errors