Get CTL to compile when IlmBase and OpenEXR are not in the usual places; remove -pthread flag from IlmThread and OpenEXR compilation.