support cross platform build process.