fix issue #104: constant names with hyphen break build
fix test
Merge pull request #117 from jDramaix/jd_fix_104

fix issue #104: constant names with hyphen break build