Tweaking to get SSL working on Linux