fix the compiler error so it builds with latest clang (commit 8444ae7cfeaefae031f8fedf0d1435ca3b14d90b)