Honor the --localstatedir option to configure, instead of hardcoded /var.