Link dynamically sized exports correctly as well.
Merge pull request #1877 from unknownbrackets/elf-fix

Link dynamically sized exports correctly as well
Link long module names properly (truncating.)