The LCL does not yet support every property of the VCL and the CLX is not fully VCL compatible. To make it more platform independent, reduce unit libc (which is deprecated) references and substitute with native FPC units like baseunix/unix as much as possible.