use PEM_read_bio_DHparams() instead of PEM_read_DHparams() so we don't need applink on windows