Add configuration options to compile libgsl