Add extension dependency on json and openssl

Mark them as required on windows, since they are always available
using the official PHP binaries.

Patch by ab@php.net Thanks!