Unable to compile Delphi RTL

I couldn’t compile the Delphi RTL because the files “BuildWinRTL.dproj” and “BuildOSXRTL.dpk” had multiple errors.

BuildOSXRTL.dpk ->
Macapi.JavaScriptCore.pas in ‘osx\Macapi.JavaScriptCore.pas’,
Macapi.WebKit.pas in ‘osx\Macapi.WebKit.pas’;

The “.pas” is a bug, it should be:
Macapi.JavaScriptCore in ‘osx\Macapi.JavaScriptCore.pas’,
Macapi.WebKit in ‘osx\Macapi.WebKit.pas’;

BuildWinRTL.dproj ->
false

Msbuild doesn’t know “true” or “false” but only 0, 1 or 2.
so it should be:
0

https://wiert.me/2013/11/20/when-the-delphi-xe5-commandline-compiler-fails-with/