on windows define XK_STATIC_LIBRARY