MESOS-1693: enable build against non-x86 arch

Enable building against non-x86 arch, namely arm builders on Fedora.

Review: https://reviews.apache.org/r/24563
Fixed a few compiler warnings in stout.