Change $IF CompilerVersion to $IFDEF(Fix for Delphi 5)