Linux bugfixes and clang support.