Get it to work (mostly) with older versions of rdkit

This enables the RMG-database project to use the packaged rdkit in the Tavis build, speeding it up significantly.