Fix build on aarch64
Also fix spelling so the telegraf_confdir parameter actually works.
Submitted by: Mikael Urankar PR: 244173