sundials depends on libm

This fixes regression from e56d8404658f1be1ee1e22646d2478311d0906c4