fix issue with non-namespace version of OpenEXR, compile warnings