So, instead of what in my instructions is "qmake ..", you should run:
qmake DEFINES+=MEDIAGOBLIN ..
Should work fine against any GMG server running up to date git master.
Anyone already using Dianara can avoid messing up their current configuration by running "Dianara --config somenameforthegmgaccount".