Add embeding for win32 and xlib