Revert "Revert "Disable LTO for libc and libdl. They don't play nice.""

This reverts commit 7b8f30677a0e10158b1b9800ae42b87b043bdea2.