Corrected recompilation scripts