CP-7111: Fixing compilation warning to declare tmp variable as const.
CP-7111: Newer OpenSSL libraries handle stacks in a slightly different way. Adding ifdef construct to handle both old/new cases.
Merge pull request #3 from rdobson/centos_6.4_fixes

Centos 6.4 fixes