mk: fix missing libm dependencies