bug fix for Crypto on linux