Fixed test compilation script