Fixed cmake errors for blender install.