THe codetools can oly insert a method when the source for the codetools is "compilable". The problem here is that your fpcsource is older than the lazarus source. (til a few weeks ago, the unit was called rtlconst, without S).
So on compilation, the codetouls cannot find teh newer unit.