Support clang

Attempt to make travis build succesfully using clang.