Dlls should not have a main and should be exported.