Updating linux makefile, also fixing a forgottent dependency in the mingw one