Fix compile script