Matrix: Fix GCC compile issue