Fix libIlmImf library naming for the autotools

The namespace versioning switch for the autotools-based setup results in a library name ``libIlmImf-Imf_X_Y.so``
Building libIlmImf with cmake results in the name ``libIlmImf-X_Y.so``
This patch fixes the inconsistent name for the autotools.