Fix windows build

Hi,

these are fixes for windows, here you can touch the snapshot http://windows.php.net/downloads/pecl/snaps/mosquitto/0.2.2/ . Unfortunately I lack on time to test it with the mosquitto servce. The vc11 builds should be fine, even with 5.6. The vc9 build is where I doubt as building the libmosquitto seems to not to support vc9 and it's hardcoded to support Windows starting with Vista (that's why i've asked on PECL about it). I still could trick it to build with vc9, we'll see whether it's ok. Note that to test you'll need to get the corresponding pthreads build available here http://windows.php.net/downloads/pecl/deps/ (needed by libmosquitto).

Regards

Anatol