Fix ‘closure’ is not a member of ‘boost::geometry’.

Building examples uncovers following missing include in num_points.hpp:

../../boost/geometry/algorithms/num_points.hpp:68:16: error: ‘closure’ is not a member of ‘boost::geometry’

Adding an include of core/closure.hpp fixes this.