[arm-linux] Fix configure.ac for cross-compilation.
[arm-linux] Update build system for arm-linux.