Added linking to the maths library in the Cmake build file.