I've added a SHARED flag to druntime instead of hardcoding linux, we should also pass that to the $(DRUNTIME) so that druntime would also build a shared library.
https://github.com/D-Programming-Language/druntime/commit/321255493395934bffb65c6ade88c4dfd8f2cbe4#L1R38