[core] Support for separated prefixes for cross-compilation tools