Compile struggle

Ah, the library thing is a problem. It's unfortunate that the old releases (assuming they actually were making releases) of the SdFat library don't seem to be available from their original home on Google Code and are also not present in the GitHub repository. The oldest release of the library is still in the 1.5 library format, which is incompatible with Arduino IDE 1.0.6. You can go back farther in history from there. The oldest available version of the library on GitHub is here:
https://github.com/greiman/SdFat/archive/3f7f5cd8e9afb876ecfe9eda19679ebab33109ce.zip
Note that version is in 1.0 library format and also contains the SdFatUtil.h file that is missing from more recent versions of the library. So give that a try. Make sure to remove the #include <SD.h> line so that the Arduino SD library will no longer be used. Now that you've fixed the prog_* type errors you are probably better off to continue using Arduino IDE 1.8.5.