Tweaking gcc check
Fix gcc error