Add settings file and makefile targets to build ddmd
fix posix.mak ddmd rule
use local dmd and link with c++ compiler