All these, including the compilation of matrixtester, is fixed in the latest git.
Also the GenericElementFactory is rewritten in a more cleaner way.