Added Linux compatibility, and new Makefiles

The program had to be changed in some places so that Linux can handle
it. Also, added a new folder with eclipse-generated makefiles. They're
tested under Linux, so they really should work now.