Use INSTALL_SCRIPT, not INSTALL_PROGRAM, when installing scripts; fixes #1858