check whether gsl is installed