1. Fix build error due to lack of curl
2. Remove DEDICATE from build option, and modify related build script
Remove client/ and jpeg/