Made Makefile compatible with most *nix systems
Changed main.c to be C90 compatible