correctly handle undefined altitude in altitude stats
automatic build script