Fixing clang compilation problems on BGQ