Fix example compilation under Linux