fix compile error for proxyServer and mediaServer
file relocation
support console build