Foundation recompile