Correct *.mk files for cross-compilation.