Fix ODR violations

Detected by compiling with GCC flags `-flto -Wodr`.
4 files changed