[PATCH] winex11: Build helper functions only when needed