add missing include cmath in visitors.hxx