Fix Clang compile errors in editor