LibX11 wrapper should catch Error on Windows.

On Windows an UnsatisfiedLinkError will be thrown, this extends Error
not Exception so the application will fail.

This issue only affects the tests on Windows.