avoid copying bitcode files in emcc when possible; copy them lazily when actually required