Get MATH_LIBRARY in root CMakeLists and link openctm against it