fixed xf86vmode.nim for #1