make reverse.c compilable on linux