Added SERVER_ONLY config option for headless builds