Merge pull request #2376 from rolfbjarne/bitcode-without-undefined-references