Fix compilation when __GNUC__ is defined