mms: tweaks to support better mms builds
make: modernizing pdf builder