fix check for msCrypto