Worked around a dmd regression and updated an LDC flag.
When building portable lib, garbage collect sections and remove .eh_frame section. This fixes linker errors with LDC generated portable lib.