Added cross compilation capabilities.