Make compile work with clang
Merge pull request #4 from GameAnalytics/clang_compile

Make compile work with clang