Windows patch for embedding window, see:
http://srinikom.github.io/pyside-bz-archive/523.html#c18