Fix installation of shared script after autotoolisation