Fixed a build-error with Delphi

This error was introduced by a change made for FPC on Linux.