Switched to clang++ due to gcc -O2 bug