Ditch most of the gratuitous patching of the program's Makefile as we only need to adjust object files, compiler, and libraries.