Avoid referencing crypto constant if import failed.