Refactor out sysconfig handling

but maybe but, that there should be anything instead of "yes"