Linux compilation support added

I wrote a small makefile and did a couple of trivial mods to compile also under linux with gcc.
I think maybe could be usefull :)