Fix GCC complaint about ambiguous overload