Fix compile script.