More macro for windows to compile

snappy now only fails linkage