separated recompiled headers in different build modes