Fix buid script