This is an issue with stdWeapons.zh and its included files. Stuff in ./extras is included to assist compiling mainstream headers that we do not maintain, Newer versions implement this type of thing internally, or with better scripts, but a number of older scripts rely on this header, so we included it as an as-is-whjre-is set of files, maintained by its creator.
We only manage stuff in ./include and ./headers, as part of internal development. If you encounter an issue with extra/expansion materials, please contact the author. We will include patches that they release.
The files in ./extras are well, extra content beyond our native ability to support, but that is used enough in the mainstream to bundle.
As to the issues that you encountered, i would immediately suspect setup issues.