Finally found a way to silence weave and msvc when compiling!