Make sure that libm is used during config tests so that ceil, floor, and