Bug 1070442 - Support building gaia apps in parallel

I'll restore var to const