Fix error in compile script