Support newer gsl

The enums `forward` and `backward` have been deprecated since GSL 1.7, and are no longer present in GSL starting probably 1.15. This pull request drops support for GSL < 1.7 and uses the new enums.