[server][test][Makefile] Fix an improper dependency, which may fails a parallel build.