enhance FPC compilation, especially for Linux + ARM platform