PreserveCompilationContext must be set for precompilation tool to work, even when the app has no views. Fixes #2168