Improve build SDK script to give more control

	* build-sdk.sh: Add copyright declarations. Add command arguments
	to control host, paths and release/debug install. Remove bash
	specific dependencies.