Fix to compile LDC on FreeBSD 10.

This fixes issue #584.
Merge branch 'master' into merge-2.064