Fix build with clang, see ca7da3c
Enable clang build to detect more errors
Merge pull request #197 from AMDmi3/clang-fix

Fix build with clang as in ca7da3c and enable clang build in travis