Only define MBBuild*DLL under DLL builds.