try static inline to get clang linking happy