Add libm to dependencies