Split build files to be cross-platform.