version: add compiler and pthreads version

fix also some remaining aligned attributes for VC++

TODO: support ASM linkage in VC2013 (USE_ASM define)