Support previous versions as low as 1.4.7-R1.0

New 1.6.4-R1.0 changes, due to deprecation of magic numbers, caused
support for previous versions to break.