Added explicit linking to math lib for simple fits programs