Added ifdefs for complete_SSL_shutdown

Submitted on the forums by user mdaniel ( /v\atthew ):
http://support.nagios.com/forum/viewtopic.php?t=27027#p97817