avoid linking errors with not-so-static inline functions