Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Remove INVALID_DISTANCE and INVALID_DURATION.