Fix static inline to inline functions