ELCompiler should allow $ in static parts, close #1958