Fixed test on other OS's by fixing build directive