Change for cross-compiling properly on systems without copy