Fix compile under linux: link with libm