Build is broken on windows

tests target is broken on windows as the unit tests contain some main methods and the driver module contains a DllMain entry; both cannot exist.