Passing -lm to the linker fixes issue. Will you accept patch for CMakeLists.txt which checks if OS is FreeBSD and adds this flag?<br>