fixed to shell code in TCP/IP mode
fix scons compilation with the new shell