first pass at cmake + visual studio support
use inline asm for sse detection
fix zlib headers / linking for windows