Fix GCC error about private