Build dmd as static libraries on posix
Merge pull request #2932 from yebblies/posixlib

[DDMD] Build dmd as static libraries on posix