[DDMD] Build dmd as static libraries on posix

Like in win32.mak