Change inline to static inline for C99 compliance / Fix some file name