Compiles with Clang

Looks like Clang is stricter than GCC regarding structs and classes.
Merge pull request #5 from osimola/clang

Compiles with Clang