Fixed gcc-specific crash observed on in Linux