Add build option to select init system integration

Currently this option can only be used to disable systemd support even if libsystemd is found.
Fix compilation error
Debug tool: show tile memory consumption