Fixed example compilation under GCC compiler.