Bug 864751 - Add profile directory define

Conflicts:
	Makefile
	build/settings.py
First round of fixes

Conflicts:
	Makefile
	build/settings.py