fixed relative line numbering to only work on version that support it