[core] Fix x-compilation paths