It would be better, I think, to exit with an error if GSL is not available.   You don't want to silently change the behavior of the code depending upon what libraries were available when it was installed.