dll complilation fixes; added dll projects for win