Fixed building of DLL