fix compile with gcc and gsl