Fixes for mac.  added a define to disable RSA crypto in master,  It must be tested on CRYPTO BRANCH