Fix compile issues.