ssl: fix cleanup
build: disable strict aliasing

although can create a minor performance penalty it looks like many projects
disable this as strict aliasing can create annoying warnings that are not
always trivial to overcome at the expense of a relatively minor performance
improvement.