Improve smoke_some_mathgsl to make base_dir configurable