DLL Export and defines