add headless server, use -DSTANDALONE_SERVER=On to activate it