add "-std=gnu89" to CFLAGS when using clang compiler

By default, Clang builds C code according to the C99 standard, which provides different semantics for the inline keyword than GCC's default behavior. see the [clang manual]((http://clang.llvm.org/compatibility.html#inline)) for more info.
the SW_INLINE macro need to be compile with the gnu89 standard.