Change $IF CompilerVersion to $IFDEF(Fix for Delphi 5)
Raise exceptions for unsupported primitive wrappers