Fixed compilation with clang that is stricter than gcc on some issues
Merge pull request #16 from wackou/fix_clang_compile

Fixed compilation with clang that is stricter than gcc on some issues