Fix IlmBase/OpenEXR build break when they are oddly installed in
separate directories instead of the include files together.
Fix loop that ran off the end of an array