Fixes checking for older versions of IDL.