Makefile cross-compiling support implementation.