In most cases, these things would work, but not here. Tried everything, nothing works except using a pre-modules-compiler.
In general, golang seems to work best with golang-only projects. As soon as there are other languages in the mix, like C++ here, things get very ugly very fast.