Fixed compile script