#277: command/build, command/install: fixes the bug that fails to switch off server_mode