add some visual c++ compiler/linker flags for optimizations