Switch to EnumDisplayModesEx

Use EnumDisplayModesEx instead of EnumDisplayModes. This might help
with issue #6.