ghost: build.sh: Make it universal for aosp, cm12 and stock

Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>

Conflicts:
	build.sh