redo configure inputs to try and detect libm.a (not quite working yet)
updated readme with static libm requirement