Version 4.0 of varnishd doesn't support the -w flag, this safely omits it where 4.0 is installed - Jason G