cmake generated Makefiles for unices missing libm