Fixing dependencies and clearing out compile warnings in src/htserver