Clang support.
Fix bug in Wood test case.
Fixed Clang warnings.