Set sysconfdir and localstatedir on linux.

The old build system used this, but I forgot to include it here.