Fized /join, fixed C++ build flags.