[FOLD] Fix gcc build