backport 1.9.7-15 install script to 1.8.2. Fixes #219