Fixed issue 88.
Modified not to cache local macros completely. The local macros are already expanded,
so all we need is just a mark for compile time env to see if the variable is bounded
or not.