Fixed a build issue when building without CGAL.