Fixed build script and added gitignore.
Merge branch 'master' into develop

Conflicts:
	.gitignore