Fixed compile issues.