openssl fixes

Why are we running `./Configure` twice? It looks like this messes up cross-compilation when no Kerberos is present.

This also fixes an error in the `domd` script and changes `-D OPENSSL_DOING_MAKEDEPEND` to `-DOPENSSL_DOING_MAKEDEPEND`.