fix for undefined TRACK_LENGTH_GRACE

Thanks for catching this, @mrmachine.