fix compiling debug build using clang #35

clang doesn't allow inline on function in external file.
Merge pull request #53 from zturtleman/fix_clang_debug

fix compiling debug build using clang #35