fix compile error with msvc: add dependency
make two services global