set more optimal options

Signed-off-by: Marian 'VooDooMan' Meravy <vdm113@gmail.com>
fix TLS problem with ICC

Signed-off-by: Marian 'VooDooMan' Meravy <vdm113@gmail.com>
remove attic comments

Signed-off-by: Marian 'VooDooMan' Meravy <vdm113@gmail.com>