Fixed compilation without CGAL. Tests run without crashing.