chtsanti - 2018-02-16

You are right.
It should use the runstatedir (which is based on prefix) from autoconf.