fix the case where emcc's input and output is a bitcode file