Added missing dependency on libm