free-structure: fix compilation with GCC