configure: Add missing libm library dependencies to .pc files.