add makefile target to dlls
import some more windows code