Removed some compilation errors from shell.c