Fixed compile issues in WorldModel files