Fix performance bug in JnarioStandaloneCompiler