Make headless a command line parameter and Makefile option (HEADLESS)
Values can be "true" or "false".  Default is false.