Prepare for supporting static lexicals.
Correctly mark us a pre-compiling.

This is always the case in a cross-compile situation.
Implement setstaticlex.
Turn on compiling post-deserialize tasks.