The latest release of Portable UPnP SDK contains a fix for windows sleep() call and an important fix for AMD64 systems.
You can get it here:
http://downloads.sourceforge.net/pupnp/libupnp-1.4.4.tar.bz2
The changelog can be seen here:
https://sourceforge.net/project/shownotes.php?group_id=166957&release_id=501741
Enjoy!