Committed on the off chance someone else may want to run this on modern Linux. Tested on Debian 9 and Fedora 29 through 32.